package com.example.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qiusuyang
 * @since 2024-05-10
 */
@Data
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备信息，device.fingerprintf
     */
    private String deviceId;

    /**
     * 所属角色
     */
    private String role;

    /**
     * 设备绑定状态
     */
    private Integer status;

    @Override
    public String toString() {
        return "Device{" +
            "id = " + id +
            ", deviceId = " + deviceId +
                ", role = " + role +
        "}";
    }
}
